home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "Barcode / Clipboard"
- ClientHeight = 2955
- ClientLeft = 1260
- ClientTop = 2145
- ClientWidth = 3765
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 3360
- Left = 1200
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2955
- ScaleWidth = 3765
- Top = 1800
- Width = 3885
- Begin VB.PictureBox Picture1
- Appearance = 0 'Flat
- AutoRedraw = -1 'True
- BackColor = &H80000005&
- ForeColor = &H80000008&
- Height = 495
- Left = 0
- ScaleHeight = 465
- ScaleWidth = 705
- TabIndex = 1
- Top = 0
- Visible = 0 'False
- Width = 735
- End
- Begin VB.CommandButton Command1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Copy Barcode To Clipboard"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 240
- TabIndex = 0
- Top = 960
- Width = 3255
- End
- Begin BarcodLib.Barcod Barcode1
- Height = 495
- Left = 240
- TabIndex = 3
- Top = 240
- Width = 3255
- _version = 65542
- _extentx = 5741
- _extenty = 873
- _stockprops = 75
- caption = "SAMPLE"
- backcolor = 16777215
- barwidth = 0
- direction = 0
- style = 3
- upcnotches = 0
- End
- Begin VB.Label Label1
- Appearance = 0 'Flat
- BackColor = &H00C0C0C0&
- Caption = $"BARCODS3.frx":0000
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 1215
- Left = 240
- TabIndex = 2
- Top = 1560
- Width = 3255
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- Picture1.Height = Barcode1.Height
- Picture1.Width = Barcode1.Width
- Barcode1.PrinterScaleMode = Form1.ScaleMode
- Barcode1.PrinterWidth = Barcode1.Width
- Barcode1.PrinterHeight = Barcode1.Height
- Barcode1.PrinterTop = 0
- Barcode1.PrinterLeft = 0
- Barcode1.PrinterHDC = Picture1.hDC
- Picture1.Refresh
- Clipboard.Clear
- Clipboard.SetData Picture1.Image
- End Sub
-